High Contrast: stronger entry focus indication
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 18 Mar 2016 18:05:20 +0000 (19:05 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 18 Mar 2016 18:05:20 +0000 (19:05 +0100)
gtk/theme/HighContrast/_drawing.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index 4c4375bb5756b550542d6860ec32e140890adcf0..8962706700ed470471b1ac0d03c0906da43cc5ab 100644 (file)
@@ -58,8 +58,8 @@
   @if $t==focus {
     border-color: $fc;
     @include _shadows(inset 0 2px 2px -2px mix(black, $base_color, 50%),
-                      inset 0 0 2px 1px mix($fc,$base_color,20%),
-                        $_entry_edge);
+                      inset 0 0 0 1px $fc,
+                      $_entry_edge);
   }
   @if $t==insensitive {
     color: $insensitive_fg_color;
index b52465137cdee04cab08dc5e00210932c33b357e..bf886305c3a64d6fc499eb1c3f8c4121d598b2d8 100644 (file)
@@ -194,7 +194,7 @@ entry {
     border-style: solid;
     background-image: linear-gradient(to bottom, #090909, #111 90%);
     border-color: #aaa;
-    box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 2px 1px #303030; }
+    box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 0 1px #aaa; }
   spinbutton:disabled:not(.vertical),
   entry:disabled {
     background-color: transparent;
@@ -230,7 +230,7 @@ entry {
       border-style: solid;
       background-image: linear-gradient(to bottom, #090909, #111 90%);
       border-color: #cc0000;
-      box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 2px 1px #360e0e; }
+      box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 0 1px #cc0000; }
     spinbutton.error:selected:focus:not(.vertical), spinbutton.error:selected:not(.vertical),
     entry.error:selected:focus,
     entry.error:selected {
@@ -245,7 +245,7 @@ entry {
       border-style: solid;
       background-image: linear-gradient(to bottom, #090909, #111 90%);
       border-color: #f57900;
-      box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 2px 1px #3f260e; }
+      box-shadow: inset 0 2px 2px -2px #090909, inset 0 0 0 1px #f57900; }
     spinbutton.warning:selected:focus:not(.vertical), spinbutton.warning:selected:not(.vertical),
     entry.warning:selected:focus,
     entry.warning:selected {
index 217c9b44c3eadd4f897d06c738e7554afb336ace..e72e21a03919bc1fe7299d4d2c603b0ea4120d5c 100644 (file)
@@ -194,7 +194,7 @@ entry {
     border-style: solid;
     background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
     border-color: #000;
-    box-shadow: inset 0 2px 2px -2px gray, inset 0 0 2px 1px #cccccc; }
+    box-shadow: inset 0 2px 2px -2px gray, inset 0 0 0 1px #000; }
   spinbutton:disabled:not(.vertical),
   entry:disabled {
     background-color: transparent;
@@ -230,7 +230,7 @@ entry {
       border-style: solid;
       background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
       border-color: #cc0000;
-      box-shadow: inset 0 2px 2px -2px gray, inset 0 0 2px 1px #f5cccc; }
+      box-shadow: inset 0 2px 2px -2px gray, inset 0 0 0 1px #cc0000; }
     spinbutton.error:selected:focus:not(.vertical), spinbutton.error:selected:not(.vertical),
     entry.error:selected:focus,
     entry.error:selected {
@@ -245,7 +245,7 @@ entry {
       border-style: solid;
       background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
       border-color: #f57900;
-      box-shadow: inset 0 2px 2px -2px gray, inset 0 0 2px 1px #fde4cc; }
+      box-shadow: inset 0 2px 2px -2px gray, inset 0 0 0 1px #f57900; }
     spinbutton.warning:selected:focus:not(.vertical), spinbutton.warning:selected:not(.vertical),
     entry.warning:selected:focus,
     entry.warning:selected {